home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
The World of Computer Software.iso
/
ra-scrs.zip
/
RA-NEWF.RS
< prev
next >
Wrap
Text File
|
1992-10-30
|
1KB
|
40 lines
TITLE "Remote Access new file scan"
;must be in MAIN MENU for this script to operate correctly!
PARAMETER 1 "Date to start new file scan MM-DD-YY"
ENDPARAMS
; Validate parameters
IF EMPTY "%P1%" GOTO OOPS
WHEN "ENTER to co" SEND "|"
WHEN "[ENTER] to co" SEND "|"
WHEN "More(Y/n/=)?" SEND "|"
WHEN "MORE(Y/n/=)?" SEND "|"
WHEN "Press Enter" SEND "|"
WHEN "[y/N]" SEND "|"
WHEN "[Y/n]?" SEND "|"
WHEN "<press any key>" SEND "|"
SEND "|"
WAITFOR "Main Menu Select" FAILURE GOTO ERROR
;goto files menu
SEND "F|"
WAITFOR "Files Menu Select" FAILURE GOTO ERROR
SEND "N|"
WAITFOR "since your last call [Y/n]" FAILURE GOTO ERROR
SEND "N|"
WAITFOR "newer than MM-DD-YY:" FAILURE GOTO ERROR
CAPTURE "%ID%.CAP" OVERWRITE
SEND "%P1%"
WAITFOR "Files Menu Select" FAILURE GOTO ERROR
CLOSE
MESSAGE "Navigating to Main Menu"
SEND "+|"
EXIT 0
:ERROR
MESSAGE "Something went wrong"
EXIT 1
:OOPS
MESSAGE "No date entered"
EXIT 1